AbstractCTM = Union{CTM, gpuCTM}